WprAddons\Modules\ContentToggle\Widgets\Wpr_Content_Toggle A

Total Complexity 51
Dependencies 5
Dependents 0
Total lines 1,325
Lines of code 1,158
Logical lines of code 176
Comment lines 20
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
register_controls()
D
10
2 930
wpr_dual_switcher()
A
43 11 53
wpr_dual_switcher_inner_text()
A
48 7 45
wpr_dual_switcher_outer_text()
A
49 7 39
wpr_switcher_template()
S
56 6 15
render()
S
60 4 13
add_control_switcher_label_style()
S
56 1 19
add_control_switcher_style()
S
59 1 16
get_custom_help_url()
S
76 2 4
wpr_multi_switcher()
S
98 1 1
get_name()
S
82 1 3
add_section_settings()
S
98 1 1
get_title()
S
79 1 3
has_widget_inner_wrapper()
S
79 1 3
get_style_depends()
S
81 1 3
get_keywords()
S
78 1 3
get_categories()
S
81 1 3
get_icon()
S
82 1 3
add_repeater_switcher_items()
S
98 1 1